import { PixelRatio, Platform } from "react-native"

// 判断是web端
export const isWeb = Platform.OS === "web"

// 判断是根据设备像素比，返回应该加载的像素比后缀
export const prTail = PixelRatio.get() > 2 ? "@3x" : "@2x"
